package bingfa.entity;

import java.util.TimerTask;

/**
 * Created by Administrator on 2016/3/1.
 */
public class MyTask extends TimerTask {

    private String string;
    public MyTask (String string){
        this.string = string;
    }

    @Override
    public void run() {
        System.out.println(string);

    }

}
